<?php include("src/viewEmpresarialDependiente_cs.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href='css/coolMessage.css' type='text/css' rel='stylesheet' media='screen' />
<title>Actualizar Empleado :: ASSC</title>

</head>
<body onload="javascript: showMessage(<?php echo $show_msg;?>)">
<?php $item_select = 3; include("menu.php");?><br />
    
<div class="content_grv">
		<table width="90%" align="center" class="shadow">
            <tr>
                <td class="title">Informacion Compania Dependiente</td>
            </tr>
            <tr>
                <td>
                    <table class="tbl_form" align="center">
                        <tr>
                            <td class="title">SERVICIOS Y SOLUCIONES</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td align="right" class="title">RECIBO :</td>
                            <td>&nbsp;</td>
                            <td class="title"><?php echo $data->emde_receipt; ?></td>
                        </tr>
                        <tr>
                            <td></td>
                        </tr>
         </table>
           <table class="tbl_form" align="center" >             
                        
                        <tr>
                            <td align="left" width="10%"><span class="lbl_gray">Fecha Recibo:</span></td>
                            <td><?php echo $data->emde_date_periodo; ?>
			    </td>
                            <td>&nbsp;</td>
                            <td width="10%" align="right"><span class="lbl_gray">Periodo:</span></td>
                            <td width="10%"><?php echo $data->emde_periodo; ?></td>
							<td align="left"></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                        </tr>
                        
                        <tr>
                            <td align="left" width="10%"><span class="lbl_gray">Compania:</span></td>
                            
                            <td><?php echo $data->emde_company_name; ?></td>
        					<td align="left">&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td align="left"><span class="lbl_gray">Direccion :</span></td>
                            <td><?php echo $data->emde_company_address; ?></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            
                        </tr>
                        <tr>
                            <td align="left"><span class="lbl_gray">Nit :</span></td>
                            <td><?php echo $data->emde_company_nit; ?></td>
                            <td>&nbsp;</td>
                            <td></td>
                            <td>&nbsp;</td>
                        </tr>
                        
                        <tr style="background-color:#808080">
                        	<td style="color:#FFFBF0" colspan="4">CONCEPTO</td>
							<td style="color:#FFFBF0" colspan="2">VALOR TOTAL</td>

                        </tr>
                        <tr>
                            <td align="left" width="20%"><span class="lbl_gray">Aporte Admision:</span></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_value_admission,2); ?></td> 
                        </tr>
                        <?php if($data->emde_name_eps!=''){ ?>
                        <tr>
                            <td align="left"><span class="lbl_gray">Aporte EPS:</span></td>
                            <td><div><?php echo $data->emde_name_eps; ?></div></td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_value_eps,2); ?></td>
						</tr>
                        <?php } ?>
                        <?php if($data->emde_name_arp!=''){ ?>
                        <tr>
                            <td align="left"><span class="lbl_gray">Aporte ARP:</span></td>
                            <td><div><?php echo $data->emde_name_arp; ?></div></td>
                            <td></td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_value_arp,2); ?></td>
                        </tr>
                        <?php } ?>
                        <?php if($data->emde_name_afp!=''){ ?>
                       <tr>
                            <td align="left"><span class="lbl_gray">Aporte AFP:</span></td>
                            <td><div><?php echo $data->emde_name_afp; ?></div></td>
                            <td><div></div></td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_value_afp,2); ?></td>
                        </tr>
                        <?php } ?>
                        <?php if($data->emde_name_sena!=''){ ?>
                        <tr>
                            <td align="left"><span class="lbl_gray">Aporte Sena:</span></td>
                            <td><?php echo $data->emde_name_sena; ?></td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_value_sena,2); ?></td>
                        </tr>
                        <?php } ?>
                        <?php if($data->emde_name_icbf!=''){ ?>
                        <tr>
                        <td align="left"><span class="lbl_gray">Aporte ICBF:</span></td>
                        <td><?php echo $data->emde_name_icbf; ?></td>
                            <td><div>&nbsp;</div></td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_value_icbf,2); ?></td>
                        </tr>
                         <?php } ?>
                        <?php if($data->emde_name_caja!=''){ ?> 
                        <tr>
                        <td align="left"><span class="lbl_gray">Aporte Caja Comp.:</span></td>
                        <td><?php echo $data->emde_name_caja; ?></td>
                            <td><div>&nbsp;</div></td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_value_caja,2); ?></td>
                        </tr> 
                        <?php } ?>
                        <?php if($data->emde_reingreso!=0){ ?> 
                        <tr>
                            <td align="left"><span class="lbl_gray">Aporte C. Reingreso :</span></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_reingreso,2); ?></td>
                        </tr>
                        <?php } ?>
                        <?php if($data->emde_aporte_mutual!=0){ ?> 
                        <tr>
                            <td align="left"><span class="lbl_gray">Aporte Mutual :</span></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_aporte_mutual,2); ?></td>
                        </tr>
                        <?php } ?>
                        <?php if($data->emde_admin!=0){ ?> 
                        <tr>
                            <td  align="left"><span class="lbl_gray">Aporte Administracion:</span></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_admin,2); ?></td>
                        </tr> 
                        <?php } ?>
                        <?php if($data->emde_admin_iva!=0){ ?> 
                        <tr>
                            <td  align="left" colspan="2"><span class="lbl_gray">Aporte Administracion Iva:</span></td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_admin_iva,2); ?></td>
                        </tr> 
                        <?php } ?>
                        <?php if($data->emde_otros!=0){ ?> 
                        <tr>
                            <td align="left"><span class="lbl_gray">Aporte Otros:</span></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_otros,2); ?></td>
                        </tr>
                        <?php } ?>
                        <?php if($data->emde_funeral!=0){ ?>                       
                        <tr>
                            <td align="left" colspan="2"><span class="lbl_gray">Aporte Servicios Funerarios:</span></td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_funeral,2); ?> 
                            </td>
                        </tr>
                        <?php } ?>
                        <?php if($data->emde_ajuste!=0){ ?> 
 						<tr>
                            <td align="left"><span class="lbl_gray">Aporte Ajustes:</span></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_ajuste,2); ?></td>
                        </tr>
                        <?php } ?>
                        <?php if($data->emde_interes_mora!=0){ ?> 
                        <tr>
                            <td align="left"><span class="lbl_gray">Aporte Interes Mora:</span></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_interes_mora,2); ?></td>
                        </tr>
                        <?php } ?>
                        <?php if($data->emde_descuentos!=0){ ?> 
                        <tr>
                            <td align="left"><span class="lbl_gray">Descuento:</span></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td align="right">$</td>
                            <td align="right" colspan="2"><?php echo number_format($data->emde_descuentos,2); ?></td>
                        </tr>
                        <?php } ?>
                        </table>
                        <table class="tbl_form" align="center" >
                        <tr class="title" style="color:#00F">
                            <td align="left"><span class="lbl_gray">TOTAL:</span></td>
                            <td align="center" width="25%">$</td>
                            <td align="right" width="10%"><?php echo number_format($data->emde_total,2); ?></td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td colspan="3"><span class="lbl_gray">Recibido por : <?php echo $data->emde_recibido;?></span></td>

                        </tr>
                        <div>&nbsp;
                        </div>
                        <tr>
                            <td colspan="5" align="center">
                                <input type="button" class="button_grv" value="Save" onclick="javascript: return validate(1);" />
                                <input type="button" class="button_grv" value="Save and continue" onclick="javascript: return validate(2);" />
                                <input type="reset" value="Reset" class="button_grv_cancel"/>
                                <input type="button" class="button_grv_cancel" value="Cancel" onClick="javascript:window.location.href='listEmpresarialDependiente.php';" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
 	</div>   
</body>
</html>
<?php include('divscoolmessage.php');?>